package mvp.demo.M;

import android.os.Handler;

import java.util.Arrays;

/**
 * Created by cjz on 2018/7/25.
 */
public class MainModel implements IModel {

    @Override
    public void business(final IModelBusinessFinishListener listener) {

        new Handler().postDelayed(new Runnable() {

            @Override
            public void run() {

                listener.ok(Arrays.asList(
                        "Item 1",
                        "Item 2",
                        "Item 3",
                        "Item 4",
                        "Item 5",
                        "Item 6",
                        "Item 7",
                        "Item 8",
                        "Item 9",
                        "Item 10"
                ));


            }
        }, 3000);


    }

}
